package com.admin.model.pojo;

import com.admin.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * (Job)实体类
 *
 * @author makejava
 * @since 2021-01-31 20:22:08
 */
@TableName(value = "sys_job",resultMap = "BaseResultMap")
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class Job extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 631540176436256693L;
    /**
    * id
    */
    private Long id;
    /**
    * 岗位名称
    */
    @TableField(condition = SqlCondition.LIKE)
    private String name;
    /**
    * 状态
    */
    private Boolean enabled;
    /**
    * 排序
    */
    private Integer sort;
}